package tt.love.hw.jdo;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.jdo.annotations.IdGeneratorStrategy;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Couple {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;
	

	@Persistent
	private String husbandUserId;

	@Persistent
	private String wifeUserId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getHusbandUserId() {
		return husbandUserId;
	}

	public void setHusbandUserId(String husbandUserId) {
		this.husbandUserId = husbandUserId;
	}

	public String getWifeUserId() {
		return wifeUserId;
	}

	public void setWifeUserId(String wifeUserId) {
		this.wifeUserId = wifeUserId;
	}

}
